export default {
  menus: [
    {
      key: "01",
      title: "首页",
      path: "/index",
      customIcon: "icon-xitongshezhi-guanliyuanshezhi",
      permission: "system.index"
    },
    {
      key: "02",
      title: "轮播",
      path: "/headerswiper",
      customIcon: "icon-xitongshezhi-guanliyuanshezhi",
      permission: "system.swiper"
    },
    {
      key: "03",
      title: "基础",
      path: "/", //设置空
      customIcon: "icon-xitongshezhi-yuguanli",
      permission: "system.base",
      menuLeaf: false, //false有子菜单,true则隐藏子菜单
      children: [
        {
          key: "0301",
          title: "表单与上传图片",
          path: "/form",
          inner: false
        },
        {
          key: "0302",
          title: "基础知识",
          path: "/knowledge",
          inner: false
        },
        {
          key: "0303",
          title: "插槽",
          path: "/baseslot",
          inner: false
        },
        {
          key: "0304",
          title: "移动支付",
          path: "/basevpay",
          inner: false
        },
        {
          key: "0305",
          title: "vue操作Dom",
          path: "/basedom",
          inner: false
        },
        {
          key: "0306",
          title: "性能渲染大数据Tree",
          path: "/virtualtree",
          inner: false
        },
        {
          key: "0307",
          title: "渲染btns不同状态",
          path: "/renderBtns",
          inner: false
        },
        {
          key: "0308",
          title: "自定义组件",
          path: "/customComponents",
          inner: false
        }
      ]
    },
    {
      key: "04",
      title: "数据中心",
      path: "/",
      customIcon: "icon-xitongshezhi-rizhishenji",
      permission: "system.datacenter",
      menuLeaf: false,
      children: [
        {
          key: "0401",
          title: "设置数据",
          path: "/datacenter",
          permission: "system.datacenter",
          inner: false
        },
        {
          key: "0402",
          title: "校历",
          path: "/calendar",
          permission: "system.calendar",
          menuLeaf: true, //false有子菜单,即可点击, true不可点击
          children: [
            {
              key: "040201",
              title: "详情",
              path: "/detail",
              inner: false
            }
          ]
        },
        {
          key: "0403",
          title: "证件照",
          path: "/staffphoto",
          permission: "system.staffphoto",
          inner: false
        },
        {
          key: "0404",
          title: "公有云应用",
          path: "/apppush",
          permission: "system.apppush",
          inner: false
        }
      ]
    },
    {
      key: "06",
      title: "防抖与节流",
      path: "/throttlefunc",
      customIcon: "icon-xitongshezhi-rizhishenji",
      permission: "system.throttle"
    },
    {
      key: "07",
      title: "函数式组件",
      path: "/renderfunc",
      customIcon: "icon-xitongshezhi-rizhishenji",
      permission: "system.render"
    },
    {
      key: "08",
      title: "Css",
      path: "/",
      customIcon: "icon-xitongshezhi-rizhishenji",
      permission: "system.css",
      menuLeaf: false,
      children: [
        {
          key: "0801",
          title: "事件冒泡",
          path: "/cssfunc",
          permission: "system.cssfunc",
          inner: false
        },
        {
          key: "0802",
          title: "滑动穿透",
          path: "/maskcss",
          permission: "system.maskcss",
          inner: false
        },
        {
          key: "0803",
          title: "grid网格布局",
          path: "/gridCss",
          permission: "system.GridCss",
          inner: false
        }
      ]
    }
  ],
  permissions: [
    "system.index",
    "system.swiper",
    "system.base",
    "system.calendar",
    "system.staffphoto",
    "system.apppush",
    "system.throttle",
    "system.render",
    "system.css",
    "system.cssfunc",
    "system.maskcss"
  ]
};
